import pytest

from a3mall.Tools.mysql import db

@pytest.fixture(scope='session')
def db_client():
    client = db(
        host = 'test-db.example.com',
        database = 'wms_test',
        user = 'test_user',
        password = 'secure_pass'
    )
    yield client
    client.close()